package com.hyt.it.ogt.kq.service.gov.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 *
 * </p>
 *
 * @author Chengxh
 * @since 2021-08-14
 */
@Data
@Accessors(chain = true)
@ApiModel(value="OfficePlaceParam对象", description="机构考点信息参数对象")
public class OfficePlaceParam {

    @ApiModelProperty(value = "机构考点id(新增时不传，编辑时必传)")
    private String id;

    @NotBlank(message = "考点名称不能为空")
    @ApiModelProperty(value = "考点名称(前端必传)")
    private String name;

    @NotBlank(message = "考点地址不能为空")
    @ApiModelProperty(value = "考点地址(前端必传)")
    private String address;

    @NotBlank(message = "交通指南不能为空")
    @ApiModelProperty(value = "交通指南(前端必传)")
    private String trafficGuide;

    @NotBlank(message = "联系人不能为空")
    @ApiModelProperty(value = "联系人(前端必传)")
    private String linkman;

    @NotBlank(message = "联系人电话不能为空")
    @ApiModelProperty(value = "联系人电话(前端必传)")
    private String phone;

    @NotBlank(message = "省份不能为空")
    @ApiModelProperty(value = "省id(前端必传)")
    private String provinceId;

    @NotBlank(message = "城市不能为空")
    @ApiModelProperty(value = "市id(前端必传)")
    private String cityId;

    @NotBlank(message = "区县不能为空")
    @ApiModelProperty(value = "区县id(前端必传)")
    private String districtId;

    @ApiModelProperty(value = "考点备注信息")
    private String remarks;

}
